-
Notifications
You must be signed in to change notification settings - Fork 2
Get rid of jjwt, use auth0-java-jwt instead
#118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
jjwt, use auth0-java-jwt instead
|
Not the first time I see codebase that want to stop using jjwt |
|
@dmytro-lazebnyi Then in ITs there's this: This is exception from ITs during m2m auth. Exception now is little bit different, but it is still CCE as before. I.e. they refactored code to suppliers, but it still didn't solve a problem: I.e. we have A code in the |
Fixes #117
Main changes
jjwt, useauth0-java-jwtinstead.scalecube-security-tokens -> scalecube-security-jwt.io.scalecube.security.tokens.jwt -> io.scalecube.security.jwt.JsonwebtokenResolver -> JwksTokenResolver,JwksKeyLocator -> JwksKeyProvider.What didn't change
JwtTokenResolver, + JWKS based implementationJwksTokenResolver, +JwksKeyProviderthat retrieves and caches RSA keys from remote endpoint.